﻿using System;
using System.ComponentModel.DataAnnotations;

namespace MiniWeb.Web.Controllers.Admin.ProductsClassManager.ViewModels
{
	public class SaveProductsClass
	{   
      			
        public int? ID {get; set; }  
        
				[Display(Name = "商品类别名称"), Required(ErrorMessage = "请输入！")]
        public string ClassName {get; set; } 
        
				[Display(Name = "商品大类ID"), Required(ErrorMessage = "请输入！")]
        public int ProductsTypeID {get; set; } 
        
				[Display(Name = "添加时间")]
        public DateTime CreateDate {get; set; }

        [Display(Name = "排序(从小到大)")]
                public int Sort { get; set; }

	}
}